package com.example.administrator.szb.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by D N on 2017/9/14.
 */

public class IndexBean implements Serializable {

    /**
     * result : 1
     * err_code : 0
     * err_msg :
     * data : {"banner":[{"id":1,"image":"http://106.15.194.111/uploads/1509344419.jpg","create_time":"2017-10-30 14:20:19","update_time":"2017-10-30 14:20:19","title":"banner1","status":1,"name":"banner1"},{"id":2,"image":"http://106.15.194.111/uploads/1509344436.jpg","create_time":"2017-10-30 14:20:36","update_time":"2017-10-30 14:20:36","title":"banner2","status":1,"name":"banner2"},{"id":3,"image":"http://106.15.194.111/uploads/1509344450.jpg","create_time":"2017-10-30 14:20:50","update_time":"2017-10-30 14:20:50","title":"banner3","status":1,"name":"banner3"}],"business":[{"id":109,"title":"股票质押","type":2,"img":"http://106.15.194.111/uploads/1506060595.jpg"},{"id":118,"title":"大宗减持","type":2,"img":"http://106.15.194.111/uploads/1506060626.jpg"},{"id":120,"title":"企业理财","type":2,"img":"http://106.15.194.111/uploads/1506060640.jpg"},{"id":127,"title":"信用贷款","type":2,"img":"http://106.15.194.111/uploads/1506060655.jpg"},{"id":128,"title":"过桥短融","type":2,"img":"http://106.15.194.111/uploads/1506060666.jpg"},{"id":129,"title":"三板转让","type":2,"img":"http://106.15.194.111/uploads/1506060682.jpg"},{"id":130,"title":"并购转让","type":2,"img":"http://106.15.194.111/uploads/1506060697.jpg"},{"id":138,"title":"定向增发","type":2,"img":"http://106.15.194.111/uploads/1506060707.jpg"},{"id":139,"title":"杠杆配资","type":2,"img":"http://106.15.194.111/uploads/1506060724.jpg"},{"id":140,"title":"股票增值","type":1,"img":"http://106.15.194.111/uploads/1506060739.jpg"},{"id":141,"title":"分红避税","type":1,"img":"http://106.15.194.111/uploads/1506060750.jpg"},{"id":142,"title":"可交换债","type":1,"img":"http://106.15.194.111/uploads/1506060763.jpg"},{"id":143,"title":"市值管理方案定制","type":1,"img":"http://106.15.194.111/uploads/1506060777.jpg"}],"counselor":{},"hotCoun":[{"id":73,"city":"湖南-怀化-中方","logo":"http://106.15.194.111/uploads/1509264605EJwz.jpg","company":"测试机构1","name":"杨小刚","zhenshi_img":"http://106.15.194.111/uploads/1509264469cmIV.jpg","work_tel":"0933-3851085","evaluate":9,"business_id":[{"title":"股票质押","id":109},{"title":"大宗减持","id":118}]},{"id":74,"city":"上海-上海-徐汇","logo":"http://106.15.194.111/uploads/1509265396xR3U.jpg","company":"上海某某有限公司","name":"万禾旺","zhenshi_img":"http://106.15.194.111/uploads/1509265714DzUa.jpg","work_tel":"7526158","evaluate":9,"business_id":[{"title":"股票质押","id":109},{"title":"大宗减持","id":118},{"title":"企业理财","id":120}]},{"id":80,"city":"北京-北京-东城","logo":"","company":"中信证券","name":"项子阳","zhenshi_img":"http://106.15.194.111/uploads/1509333470YPNO.jpg","work_tel":"021-89896547","evaluate":9,"business_id":[{"title":"股票质押","id":109},{"title":"大宗减持","id":118}]}]}
     */

    private int result;
    private int err_code;
    private String err_msg;
    private DataBean data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * banner : [{"id":1,"image":"http://106.15.194.111/uploads/1509344419.jpg","create_time":"2017-10-30 14:20:19","update_time":"2017-10-30 14:20:19","title":"banner1","status":1,"name":"banner1"},{"id":2,"image":"http://106.15.194.111/uploads/1509344436.jpg","create_time":"2017-10-30 14:20:36","update_time":"2017-10-30 14:20:36","title":"banner2","status":1,"name":"banner2"},{"id":3,"image":"http://106.15.194.111/uploads/1509344450.jpg","create_time":"2017-10-30 14:20:50","update_time":"2017-10-30 14:20:50","title":"banner3","status":1,"name":"banner3"}]
         * business : [{"id":109,"title":"股票质押","type":2,"img":"http://106.15.194.111/uploads/1506060595.jpg"},{"id":118,"title":"大宗减持","type":2,"img":"http://106.15.194.111/uploads/1506060626.jpg"},{"id":120,"title":"企业理财","type":2,"img":"http://106.15.194.111/uploads/1506060640.jpg"},{"id":127,"title":"信用贷款","type":2,"img":"http://106.15.194.111/uploads/1506060655.jpg"},{"id":128,"title":"过桥短融","type":2,"img":"http://106.15.194.111/uploads/1506060666.jpg"},{"id":129,"title":"三板转让","type":2,"img":"http://106.15.194.111/uploads/1506060682.jpg"},{"id":130,"title":"并购转让","type":2,"img":"http://106.15.194.111/uploads/1506060697.jpg"},{"id":138,"title":"定向增发","type":2,"img":"http://106.15.194.111/uploads/1506060707.jpg"},{"id":139,"title":"杠杆配资","type":2,"img":"http://106.15.194.111/uploads/1506060724.jpg"},{"id":140,"title":"股票增值","type":1,"img":"http://106.15.194.111/uploads/1506060739.jpg"},{"id":141,"title":"分红避税","type":1,"img":"http://106.15.194.111/uploads/1506060750.jpg"},{"id":142,"title":"可交换债","type":1,"img":"http://106.15.194.111/uploads/1506060763.jpg"},{"id":143,"title":"市值管理方案定制","type":1,"img":"http://106.15.194.111/uploads/1506060777.jpg"}]
         * counselor : {}
         * hotCoun : [{"id":73,"city":"湖南-怀化-中方","logo":"http://106.15.194.111/uploads/1509264605EJwz.jpg","company":"测试机构1","name":"杨小刚","zhenshi_img":"http://106.15.194.111/uploads/1509264469cmIV.jpg","work_tel":"0933-3851085","evaluate":9,"business_id":[{"title":"股票质押","id":109},{"title":"大宗减持","id":118}]},{"id":74,"city":"上海-上海-徐汇","logo":"http://106.15.194.111/uploads/1509265396xR3U.jpg","company":"上海某某有限公司","name":"万禾旺","zhenshi_img":"http://106.15.194.111/uploads/1509265714DzUa.jpg","work_tel":"7526158","evaluate":9,"business_id":[{"title":"股票质押","id":109},{"title":"大宗减持","id":118},{"title":"企业理财","id":120}]},{"id":80,"city":"北京-北京-东城","logo":"","company":"中信证券","name":"项子阳","zhenshi_img":"http://106.15.194.111/uploads/1509333470YPNO.jpg","work_tel":"021-89896547","evaluate":9,"business_id":[{"title":"股票质押","id":109},{"title":"大宗减持","id":118}]}]
         */

        private CounselorBean counselor;
        private List<BannerBean> banner;
        private List<BusinessBean> business;
        private List<HotCounBean> hotCoun;

        public CounselorBean getCounselor() {
            return counselor;
        }

        public void setCounselor(CounselorBean counselor) {
            this.counselor = counselor;
        }

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public List<BusinessBean> getBusiness() {
            return business;
        }

        public void setBusiness(List<BusinessBean> business) {
            this.business = business;
        }

        public List<HotCounBean> getHotCoun() {
            return hotCoun;
        }

        public void setHotCoun(List<HotCounBean> hotCoun) {
            this.hotCoun = hotCoun;
        }

        public static class CounselorBean implements Serializable{
        }

        public static class BannerBean implements Serializable{
            /**
             * id : 1
             * image : http://106.15.194.111/uploads/1509344419.jpg
             * create_time : 2017-10-30 14:20:19
             * update_time : 2017-10-30 14:20:19
             * title : banner1
             * status : 1
             * name : banner1
             */

            private int id;
            private String image;
            private String create_time;
            private String update_time;
            private String title;
            private int status;
            private String name;
            private String url;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(String update_time) {
                this.update_time = update_time;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }

        public static class BusinessBean implements Serializable{
            /**
             * id : 109
             * title : 股票质押
             * type : 2
             * img : http://106.15.194.111/uploads/1506060595.jpg
             */

            private int id;
            private String title;
            private int type;
            private String img;
            private int genre;




            public int getIsChoose() {
                return isChoose;
            }

            public void setIsChoose(int isChoose) {
                this.isChoose = isChoose;
            }

            private int isChoose;//0代表没选中，1代表选中


            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public int getGenre() {
                return genre;
            }

            public void setGenre(int genre) {
                this.genre = genre;
            }
        }

        public static class HotCounBean implements Serializable{
            /**
             * id : 73
             * city : 湖南-怀化-中方
             * logo : http://106.15.194.111/uploads/1509264605EJwz.jpg
             * company : 测试机构1
             * name : 杨小刚
             * zhenshi_img : http://106.15.194.111/uploads/1509264469cmIV.jpg
             * work_tel : 0933-3851085
             * evaluate : 9
             * business_id : [{"title":"股票质押","id":109},{"title":"大宗减持","id":118}]
             */

            private int id;
            private String city;
            private String logo;
            private String company;
            private String name;
            private String zhenshi_img;
            private String work_tel;
            private int evaluate;
            private String real_name;
            private List<BusinessIdBean> business_id;

            public String getReal_name() {
                return real_name;
            }

            public void setReal_name(String real_name) {
                this.real_name = real_name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public String getCompany() {
                return company;
            }

            public void setCompany(String company) {
                this.company = company;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getZhenshi_img() {
                return zhenshi_img;
            }

            public void setZhenshi_img(String zhenshi_img) {
                this.zhenshi_img = zhenshi_img;
            }

            public String getWork_tel() {
                return work_tel;
            }

            public void setWork_tel(String work_tel) {
                this.work_tel = work_tel;
            }

            public int getEvaluate() {
                return evaluate;
            }

            public void setEvaluate(int evaluate) {
                this.evaluate = evaluate;
            }

            public List<BusinessIdBean> getBusiness_id() {
                return business_id;
            }

            public void setBusiness_id(List<BusinessIdBean> business_id) {
                this.business_id = business_id;
            }

            public static class BusinessIdBean implements Serializable{
                /**
                 * title : 股票质押
                 * id : 109
                 */

                private String title;
                private int id;

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }
            }
        }
    }
}
